package io.coderyeah.product.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.Data;

/**
 * 产品评价
 * @TableName t_product_comment
 */
@TableName(value ="t_product_comment")
@Data
public class ProductComment implements Serializable {
    /**
     * 
     */
    @TableId(type = IdType.AUTO)
    private Long id;

    /**
     * 
     */
    private Long createtime;

    /**
     * 
     */
    private Long updatetime;

    /**
     * 订单
     */
    private Long orderid;

    /**
     * 产品ID
     */
    private Long productid;

    /**
     * 得分
     */
    private Integer score;

    /**
     * 评论
     */
    private String comment;

    /**
     * 等级
     */
    private Integer level;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}